package com.mjh.zhujianju.service.party;

import com.livew.framework.base.service.BaseService;
import com.mjh.zhujianju.model.party.BuildingClassUsersDetailsEO;
import com.mjh.zhujianju.model.party.BuildingClassUsersEO;

import java.util.List;

/**
 * @author liuyang
 * @Description:
 * @date 2018/9/5 21:48
 */
public interface BuildingClassUsersDeatilsService extends BaseService<BuildingClassUsersDetailsEO> {

    void insertByBatch(List<BuildingClassUsersDetailsEO> list);

    List<BuildingClassUsersDetailsEO> findBuildingClassUsersEOByUserId(Long classUsersId);

    /**
     * 根据用户计划表id更新进度为 0
     * @param classUsersId
     */
    void  updateBuildingClassUsersDetailsByClassUsersId(Long classUsersId);
}
